-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added translations in json format #192
base: master
Are you sure you want to change the base?
Conversation
Thank you for the PR. I'm not going to pull it in immediately, as I need to think about how to restructure the directory for this change, and subsequently also the web-site, but this is a change that I will be making at some point. Are you happy for the changes to be released under the MIT license if I do pull it in? It might be a month or two before I have time to do so. |
MIT license is fine. |
It will be merged or no? The language in i18n at the moment aren't ready to be used after install, i need to delete the comments for make it work, its not good approach in my opinion. Example for
If i remove comments for get this, all work fine!
What are your suggestions, thank in advance. |
Ultimately yes, this will be done when I do some structural work on this repo. In the mean time, the JSON files are all available on the CDN. |
@DataTables hi, unfortunately the file in CDN dosn't work to, for me, with |
Happy to take a look at a test case showing the issue. |
I think |
I have added to the i18n directories the translations resources renamed after the ISO 639-1 code. This allows an app to determine the appropriate translation file based ont he app's locale. This is more convenient and reliable than the language name (especially as some have typos in the language name, e.g. Ukranian instead of Ukrainian). See for example our own UAMDatatablesBundle for the symfony 2 framework.
The files' content is in pure JSON format; the comments at the top have been removed.
The extension is changed to json.
The contents have been converted to the new keys ("processing" as opposed to "sProcessing").